/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.croparea.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 管理作物区域Entity
 * @author 王虎
 * @version 2017-03-10
 */
public class TpArea extends DataEntity<TpArea> {
	
	private static final long serialVersionUID = 1L;
	private String areaName;		// area_name
	
	public TpArea() {
		super();
	}

	public TpArea(String id){
		super(id);
	}

	@Length(min=0, max=20, message="area_name长度必须介于 0 和 20 之间")
	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
}